<script setup>
import AsideLayout from './aside-layout.vue';
import AsideColor from './aside-color.vue';
import AsideModel from './aside-model.vue';
import AsideTypesetting from './aside-typesetting.vue';
import AsideSpacing from './aside-spacing.vue';
import {inject} from 'vue'
const {resumeInfo}  = inject('data')
</script>

<template>
<div class="aside-main">
    <div class="aside-list">
        <AsideLayout></AsideLayout>
        <template v-if="resumeInfo">
            <AsideColor></AsideColor>
            <AsideTypesetting></AsideTypesetting>
            <AsideSpacing></AsideSpacing>
            <AsideModel></AsideModel>
        </template>
    </div>
</div>
</template>

<style scoped>
.aside-main{
    height: calc(100vh - 85px);
    overflow: scroll;
    overflow-x: hidden;
    border-right: 5px solid rgb(38, 38, 38);
}
.aside-list{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    

}
.aside-main::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge */
}
</style>
